#ifndef __SERVER_BASE__
#define __SERVER_BASE__

/*
Creater : 

need works
	- include common's network file
	- delete "class network" at this file.
*/

class network;

class server_base {
public:
	enum ERROR_CODE {
		EC_REG_CLIENT_ACCEPT,
		EC_INVALID_NETWORK
	};

public:
	virtual void DisplayText(const wchar_t*	Text, ...)									= 0;
	virtual bool NewClient(network* NewServiceNetwork, network* NewBroadcastNetwork)	= 0;
	virtual bool DeleteClient(network* ServiceOrBroadcast)								= 0;
	virtual bool DeleteClient(unsigned int ClientCode)									= 0;
	virtual void CriticalError(int ErrorCode)											= 0;
	virtual void NormalError(int ErrorCode)												= 0;
};

#endif